package com.yntsoft.mapper;

import com.yntsoft.entity.RolePermission;

public interface RolePermissionMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(RolePermission record);

    int insertSelective(RolePermission record);

    RolePermission selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RolePermission record);

    int updateByPrimaryKey(RolePermission record);

	/**
	 * 通过角色id删除 关联
	 * @param roleId
	 * @return
	 */
	Integer deleteByRoleId(String roleId);
}